package com.raycloud.erp.omll.provider;

import com.github.ltsopensource.spring.boot.annotation.EnableTaskTracker;
import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@DubboComponentScan(
        basePackages = "com.raycloud.erp.omll.provider"
)
@MapperScan(basePackages = {"com.raycloud.erp.omll.**.mapper"})
@ComponentScan(basePackages={"com.raycloud.erp.omll"})
@EnableAsync
@EnableScheduling
@EnableTaskTracker
public class ErpOmllProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(ErpOmllProviderApplication.class, args);
    }

}
